#define showInput(vo,object)
	#if(vo.inputType=='text')
	<input type="text" class="form-control #if(vo.required=='T')required#end" name="#(object).#(vo.column)" value="#[[#(]]##(object).#(vo.column)#if(vo.default)??"#(vo.default)"#end)"/>
	#elseif(vo.inputType=='radio')
		#[[#for(item:data(]]#"#(vo.change)"))
		<label style="font-weight:normal;line-height: 37px;margin-bottom: 0px;padding-right: 5px"><input class="#if(vo.required=='T')required#end" type="radio" name="#(object).#(vo.column)" #[[#if(]]##(object).#(vo.column))#[[#if]]#(#(object).#(vo.column)==item.key)checked="checked"#[[#end]]##if(vo.default)#[[#elseif]]#(item.key=="#(vo.default)")checked="checked"#end#[[#end]]# value="#[[#(item.key)]]#"/>&nbsp;#[[#(item.value.name)]]#&nbsp;</label>
		#[[#end]]#
	#elseif(vo.inputType=='select')
	<select name="#(object).#(vo.column)" class="form-control #if(vo.required=='T')required#end">
		#if(vo.required=='F')<option value="">请选择</option>#end
		#[[#(data(]]#"#(vo.change)","option",#(object).#(vo.column)))
	</select>
	#elseif(vo.inputType=='select2a')
	<select name="#(object).#(vo.column)" class="form-control select2Input #if(vo.required=='T')required#end">
		#if(vo.required=='F')<option value="">请选择</option>#end
		#[[#(data(]]#"#(vo.change)","option",#(object).#(vo.column)))
	</select>
	#elseif(vo.inputType=='select2b')
	<select name="#(object).#(vo.column)" class="form-control select2Input #if(vo.required=='T')required#end" multiple="multiple">
		#if(vo.required=='F')<option value="">请选择</option>#end
		#[[#(data(]]#"#(vo.change)","option",#(object).#(vo.column)))
	</select>
	#elseif(vo.inputType=='select2c')
	<select name="#(object).#(vo.column)" class="form-control #if(vo.required=='T')required#end">
		#if(vo.required=='F')<option value="">请选择</option>#end
		#[[#if(]]##(object).#(vo.column))<option value="#[[#(]]##(object).#(vo.column)#[[)]]#">#[[#(user(]]##(object).#(vo.column),"name","text"))(uid:#[[#(user(]]##(object).#(vo.column),"uid","text")))</option>#[[#end]]#
	</select>
	#elseif(vo.inputType=='select2d')
	<select name="#(object).#(vo.column)" class="form-control #if(vo.required=='T')required#end" multiple="multiple">
		#if(vo.required=='F')<option value="">请选择</option>#end
	</select>
	#elseif(vo.inputType=='textarea')
	&lt;textarea name="#(object).#(vo.column)" class="form-control  #if(vo.required=='T')required#end"&gt;#[[#(]]##(object).#(vo.column))&lt;/textarea&gt;
	#elseif(vo.inputType=='datetime')
		<input type="text" class="form-control #if(vo.required=='T')required#end" name="#(object).#(vo.column)" value="#[[#(]]##(object).#(vo.column)#if(vo.default)??"#(vo.default)"#end)" readonly="readonly"/>
	#elseif(vo.inputType=='digits')
		<input type="number" class="form-control digits #if(vo.required=='T')required#end" name="#(object).#(vo.column)" value="#[[#(]]##(object).#(vo.column)#if(vo.default)??"#(vo.default)"#end)"/>
	#elseif(vo.inputType=='number')
		<input type="text" class="form-control number #if(vo.required=='T')required#end" name="#(object).#(vo.column)" value="#[[#(]]##(object).#(vo.column)#if(vo.default)??"#(vo.default)"#end)"/>
	#elseif(vo.inputType=='upload')
		<input type="hidden" name="upload_token"/>
    <div class="input-group">
    	<input type="text" class="form-control #if(vo.required=='T')required#end" name="#(object).#(vo.column)" id="#(object)_#(vo.column)" value="#[[#(]]##(object).#(vo.column))"/>
   		<span class="input-group-btn">
   			<button class="btn btn-primary" type="button" onclick="layer.open({content:'#[[#(res_path)]]##[[#(PRE_PATH)]]#/upload/addFiles?plugin=#(plugin)&component=#(component)&model=#(model)&object_id=#[[#(]]##(object).id)&input=#(object)_#(vo.column)',area: ['600px', '200px'],type: 2,title: '上传文件'})">上传</button>
   		</span>
   	</div>
   #elseif(vo.inputType=='xheditor')
   	&lt;textarea name="#(object).#(vo.column)" class="xheditor {skin:'nostyle',forcePtag:false,width:'100%',height:'400px',html5Upload:true,upLinkUrl:'#[[#(res_path)]]##[[#(PRE_PATH)]]#/common/files/doUpload?ui=xheditor&contentType=html5&directory=#(firstLowerCase(plugin))',upLinkExt:'zip,rar,txt,doc,docx,xls,xlsx,ppt,pptx',upImgUrl:'#[[#(res_path)]]##[[#(PRE_PATH)]]#/common/files/doUpload?ui=xheditor&contentType=html5&directory=#(firstLowerCase(plugin))',upImgExt:'jpg,jpeg,gif,png',upFlashUrl:'#[[#(res_path)]]##[[#(PRE_PATH)]]#/common/files/doUpload?ui=xheditor&contentType=html5&directory=#(firstLowerCase(plugin))',upFlashExt:'swf',upMediaUrl:'#[[#(res_path)]]##[[#(PRE_PATH)]]#/common/files/doUpload?ui=xheditor&contentType=html5&directory=#(firstLowerCase(plugin))',upMediaExt:'avi,wav'}"&gt;#[[#(]]##(object).#(vo.column)#if(vo.default)??"#(vo.default)"#end)&lt;/textarea&gt;
	#end
#end